package com.scoring.system.service;

import java.util.List;

import com.scoring.system.pojo.User;
import com.scoring.system.pojo.UserJurisdiction;

public interface UserService {
	
	int softDeleteUser(int userId);
	int saveUser(User record);
	boolean canUserLogin(String userNumber,String password,String jurisdictionName);
	boolean isUserExisted(String userNumber);
	User getUserById(int userId);
	User getUserByUserNumber(String userNumber);
	User getUserByName(String name);
	List <User> listUser();
	int updateUser(User record);
	int saveUserJurisdiction(UserJurisdiction record);
	UserJurisdiction getUserJurisdictionById(int id);
    UserJurisdiction getUserJurisdictionByUserId(int userId);
    int updateUserJurisdiction(UserJurisdiction record);
	

}
